<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            background-color: rgb(207, 107, 107);
           
            transition-property: width,height;
            transition-duration: 2s;
            transition-timing-function: ease;
            position: relative;
            left: 0;
            /* opacity: 1; */
        }
        .box:hover{
            width: 400px;
            height: 400px;
            left: 50px;
            opacity: 0.5;
            background-color:green;
        }
        .btn{
            width: 100px;
            height: 50px;
            margin: 50px 50px;
            background-color: rgb(241, 157, 157);
        }
        .run-box{
            width: 100px;
            height: 100px;
            background-color: rgb(29, 221, 103);
            position: relative;
            left: 0;
            transition: all 0.5s;
            margin-left: 100px;
        }
        .btn:hover+.run-box{
            /* left: 300px; */
            transform: scale(2);
        }
    </style>
</head>
<body>
    <div class="box"></div>
    <div class="btn">hover me</div>
    <div class="run-box"></div>
</body>
</html>